﻿<%@ Page Language="C#" MasterPageFile="~/Admin/Admin.Master" AutoEventWireup="true"
    CodeBehind="DetailNews.aspx.cs" Inherits="TCV_WEB.Admin.Page.DetailNews"
    Title="Untitled Page" %>

<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlacebody" runat="server">
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
    </telerik:RadScriptManager>
    <table style="width: 100%;">
        <tr>
            <td align="center" colspan="2" class="formTitle">
                Chi tiết tin tức
            </td>
        </tr>
        <tr>
            <td align="center" colspan="2">
                <asp:RadioButtonList ID="radiolistlanguage" runat="server" 
                    onselectedindexchanged="radiolistlanguage_SelectedIndexChanged" 
                    AutoPostBack="True">
                    <asp:ListItem Selected="True" Value="Vi">Nhập tiếng Việt</asp:ListItem>
                    <asp:ListItem Value="En">Nhập tiếng Anh</asp:ListItem>
                </asp:RadioButtonList>
            </td>
        </tr>
        <tr>
            <td align="right" style="width: 197px">
                &nbsp;
            </td>
            <td style="width: 86%">
                <asp:Label ID="lblErr" runat="server" CssClass="errorText"></asp:Label>
            </td>
        </tr>
        <tr>
            <td align="right" style="width: 197px">
                &nbsp;
            </td>
            <td style="width: 86%">
                &nbsp;
            </td>
        </tr>
        <tr>
            <td align="right" style="width: 197px">
                Chủ đề :             </td>
            <td style="width: 86%">
                <asp:TextBox ID="txtTitle" runat="server" Width="100%"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td align="right" style="width: 197px">
                Loại
            </td>
            <td style="width: 86%">
                <asp:DropDownList ID="ddownlistnew" runat="server" Height="16px" Width="237px">
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td align="right" style="width: 197px; height: 98px;">
                diễn giải ngắn:
            </td>
            <td align="left" style="height: 98px; width: 86%">
                   <telerik:RadEditor ID="radshorteditor" runat="server" Skin="Office2007" Height="200px"
                    Width="100%">
                    <Content>
                    
                    
                    
                    </Content>
                </telerik:RadEditor></td>
        </tr>
        <tr dir="rtl">
            <td align="right" width="15%">
                diễn giải dài:
            </td>
            <td align="left" width="85%">
                <telerik:RadEditor Runat="server" ID="radlongeditor" EnableResize="False" 
                    Skin="Office2007"  Width="100%">
                    <content>
                    
</content>
                </telerik:RadEditor>
            </td>
        </tr>
        <tr>
            <td align="right" style="width: 197px" valign="top">
                <br />
                <br />
                <br />
                <br />
                <br />
                <br />
                Upload ảnh :
            </td>
            <td style="width: 86%">
                <asp:FileUpload ID="FileUpload_image" runat="server" Width="218px" />
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                <asp:Image ID="img" runat="server" Height="64px" Width="64px" ImageUrl="~/Uploads/Image/noimages.jpg" />
                &nbsp;
                <asp:CheckBox ID="cbpic" runat="server" Checked="True" Text="Choose this picture" />
            </td>
        </tr>
        <tr>
            <td align="right" style="width: 197px">
                Tình trạng :
            </td>
            <td style="width: 86%">
                <asp:RadioButtonList ID="rblIsViewed" runat="server" RepeatDirection="Horizontal">
                    <asp:ListItem Selected="True" Value="1">Sử dụng</asp:ListItem>
                    <asp:ListItem Value="0">Không sử dụng</asp:ListItem>
                </asp:RadioButtonList>
            </td>
        </tr>
        <tr>
            <td align="right" style="width: 197px">
                Nguồn từ :
            </td>
            <td style="width: 86%">
                <asp:TextBox ID="txtSource" runat="server" Width="352px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td align="right" style="width: 197px">
                &nbsp;
            </td>
            <td style="width: 86%">
                &nbsp;
            </td>
        </tr>
        <tr>
            <td align="center" colspan="2">
                <asp:Button ID="btReset" runat="server" Text="Reset" OnClick="btReset_Click" Width="60px" />
                &nbsp;&nbsp;
                <asp:Button ID="btSave" runat="server" Text="Save" OnClick="btSave_Click" Width="60px" />
                &nbsp;
                <asp:Button ID="btCancel" runat="server" Text="Cancel" OnClick="btCancel_Click" Width="60px" />
            </td>
        </tr>
    </table>
</asp:Content>
